#ifndef LOCATORIMPL_H_XAIRY
#define LOCATORIMPL_H_XAIRY

#include "Locator.h"
#include <string>
using std::string;

class LocatorImpl : public Locator
{
public:
	virtual const string& getURI()const;
	virtual int getLineNum()const;
	virtual int getColumnNumber()const;

private:
	LocatorImpl();
	LocatorImpl(const string& _uri, int line, int column);
	virtual ~LocatorImpl();

	inline void setURI(const string& _uri)
	{
		uri = _uri;
	}

	inline void setLineNumber(int line)
	{
		lineNumber = line;
	}

	inline void setColumnNumber(int column)
	{
		columnNumber = column;
	}

private:
	string uri;
	int lineNumber;
	int columnNumber;
};

#endif // LOCATORIMPL_H
